{extend name="public/base"/}
{block name="body"}
<div class="main-box clearfix">
    <header class="main-box-header clearfix">
        <div class="pull-left">
            <h2>{$meta_title}</h2>
        </div>
        <div class="pull-right">
        </div>
    </header>
    <div class="main-box-body clearfix">

        <div class="panel panel-primary">
            <div class="panel-heading">
                <h2 class="panel-title">用户提现信息列表</h2>
            </div>
            <div class="panel-body">
                <table class="table table-hover">
                    <thead>
                    <tr>
                        <th width="60">ID</th>
                        <th><span>用户ID</span></th>
                        <th><span>用户手机号</span></th>
                        <th><span>提现到账方式</span></th>
                        <th><span>{$info.type_name}账号</span></th>

                    </tr>
                    </thead>
                    <tbody>

                    <tr>
                        <td>{$info.id}</td>
                        <td>{$info.uid}</td>
                        <td>{$info.phone|default=''}</td>
                        <td>{$info.type_name}</td>

                        <td>
                            {if $info.type eq 3} {$info.bank_name} - {/if}
                            {$info.card_id|default=''}</td>

                    </tr>

                    </tbody>
                </table>

                <table class="table table-hover">
                    <thead>
                    <tr>
                        <th><span>提现金额</span></th>
                        <th><span>实际打款金额</span></th>
                        <th><span>提现手续费</span></th>
                        <th><span>提现状态</span></th>
                        <th><span>提现申请时间</span></th>

                    </tr>
                    </thead>
                    <tbody>

                    <tr>
                        <td>{$info.withdraw_money}</td>
                        <td>{$info.withdraw_paid_money}</td>
                        <td>{$info.withdraw_fee}</td>
                        <td>{$info.withdraw_status_name}</td>
                        <td>{$info.create_time}</td>
                    </tr>

                    </tbody>
                </table>

            </div>
        </div>


        <div class="panel panel-primary" style="">
            <div class="panel-heading">
                <h2 class="panel-title">财务审核信息</h2>
            </div>
            <div class="panel-body">
                <form method="post" class="form form-horizontal">
                    <div class="form-group">
                        <label class="col-md-2 control-label">实际打款金额</label>
                        <div class="col-md-10">
                            <input type="text" class="form-control" style="width:400px;" name="withdraw_paid_money"
                                   value="{$info['withdraw_paid_money']|default=''}" required>
                            <span class="help-block"></span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-2 control-label">提现手续费</label>
                        <div class="col-md-10">
                            <input type="text" class="form-control" style="width:400px;" name="withdraw_fee"
                                   value="{$info['withdraw_fee']|default=''}" required>
                            <span class="help-block"></span>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-md-2 control-label">审核状态</label>
                        <div class="col-md-10">

                            <select name="withdraw_status" id="withdraw_status" class="form-control" style="width:400px;" required>
                                <option value="2">通过</option>
                                <option value="4">驳回</option>
                            </select>

                            <span class="help-block"></span>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-md-2 control-label">审核备注</label>
                        <div class="col-md-10">
                            <textarea name="deal_info" id="" cols="50" rows="4" class="form-control"  style="width:400px;" required></textarea>
                            <span class="help-block"></span>
                        </div>
                    </div>

                    <div class="form-group">
                        <div class="col-md-offset-2 col-md-10">
                            <input type="hidden" name="id" value="{$info['id']|default=''}">
                            <input type="hidden" name="uid" value="{$info['uid']|default=''}">
                            <button class="btn btn-success submit-btn ajax-post" type="submit"
                                    target-form="form-horizontal">确                                定
                            </button>
                            <button class="btn btn-danger btn-return"
                                    onclick="javascript:history.back(-1);return false;">返 回
                            </button>
                        </div>
                    </div>
                </form>

            </div>
        </div>


    </div>
</div>
{/block}